package com.adinnet.admin.teacher.mapper;

import com.adinnet.admin.teacher.model.Teacher;
import com.adinnet.admin.teacher.model.form.TeacherForm;
import com.adinnet.admin.teacher.model.vo.TeacherResp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 教师相关 Mapper 接口
 * </p>
 *
 * @author chenjia
 * @since 2021-06-09
 */
public interface TeacherMapper extends BaseMapper<Teacher> {

    List<TeacherResp> queryTeacherList(Page<TeacherResp> page, @Param("teacherForm") TeacherForm teacherForm);

    void deleteIds(String teacherIds);
}
